The Dreamweaver JavaScript API > Layer and image map functions > dom.moveSelectionBy()

 

dom.moveSelectionBy()

Availability

Dreamweaver 3.0

Description

Moves the selected layers or hotspots by the specified number of pixels horizontally and vertically.

Arguments

x, y

x is the number of pixels the selection should be moved horizontally.
y is the number of pixels the selection should be moved vertically.

Returns

Nothing.

Enabler

None.